package Com.amit.Exception;

import java.io.IOException;

class Amit
{
	void m1()
	{
		System.out.println("hello");
	}
}

public class Lab22  extends Amit{

	void m1()throws IOException
	{
		System.out.println("Hello1");
	}
	
	public static void main(String[] args) {
		
		Amit l=new Lab22();
		
		l.m1();
	
	}

}
